package com.patterns.demo.strategy;

/**
 * Author: SamGroves
 * <p>
 * Description:
 * <p>
 * Date: 2017/12/4
 */
public class Test {

    public static void main(String[] args) {

        String exp = "8+8";
        ICalculator cal = new Plus();
        int result = cal.calculate(exp);
        System.out.println(result);
    }
}
